package com.fram.mapper;

import java.util.List;

import com.fram.bean.api.user.response.UserWalletResponse;
import com.fram.entity.UserTransactionFlow;

public interface UserTransactionFlowMapper {

	int deleteByPrimaryKey(Long id);

	int insert(UserTransactionFlow record);

	int insertSelective(UserTransactionFlow record);

	UserTransactionFlow selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(UserTransactionFlow record);

	int updateByPrimaryKey(UserTransactionFlow record);
	
	//总收入
    UserWalletResponse totalRevenue(Long agentId);
    
    List<UserTransactionFlow> listForAndroid(UserTransactionFlow request);
}
